extends InteractiveObject3D

@onready var spot_light_3d: SpotLight3D = $Base/Lever/Cover/Bulb/SpotLight3D
@onready var omni_light_3d: OmniLight3D = $Base/Lever/Cover/Bulb/OmniLight3D

@export var is_enabled = false

func _ready() -> void:
	spot_light_3d.visible = is_enabled
	omni_light_3d.visible = is_enabled

func interact(params: Dictionary = {}) -> void:
	is_enabled = not is_enabled
	spot_light_3d.visible = is_enabled
	omni_light_3d.visible = is_enabled
